const express = require('express')
const router = express.Router()

const { signIn } = require("../../service/sign/signIn")
const { setUserName } = require('../../service/sign/setUserName')
const { setSecret } = require('../../service/sign/setSecret')

// 获取用户地址和公私钥对
router.post('/sign/signIn', signIn())

//设置用户名
router.post('/sign/setUserName', setUserName());

//设置用户安全密钥
router.post('/sign/setSecret', setSecret());

module.exports = router